﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using RN.ERP.BLL;
using RN.ERP.DTO;
using System.Web.Services;
using Newtonsoft.Json;

namespace RN.ERP.Web.Material
{
    public partial class MaterialLog : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

            }
        }

        protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
            MaterialBLL bll = new MaterialBLL();
            string objectid = Request.QueryString["id"];
            string funcId = Request.QueryString["fid"];
            RadGridList.DataSource = bll.GetLog(objectid, funcId);
        }
    }
}